home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
art&graf.ix
/
art-0014
/
extra
/
rotation.doc
< prev
next >
Wrap
Text File
|
1997-04-16
|
8KB
|
199 lines
Instructions for Rotation V1.0 Page 1
Program and documentation by David Duberman
Advertisement: Rotation was written in Personal Pascal from
Optimized Systems Software. It is a constantly evolving
program; soon to be added is color and step-time animation.
If you would like to receive the latest version of the
program and instructions plus full commented source code,
please send a blank, preferably formatted 3.5" disk and a
check for $7.00 to:
David Duberman
1645 West Selby Lane
Redwood City, CA 94061
Note! Your system must be in medium resolution (color) or
high resolution (monochrome) to use this program.
This program was inspired by EZ Draw and other
'object-oriented' programs that don't let you rotate objects
in any increment other than 90 degrees. With Rotation, you
can draw squares and polygons and rotate them in any
increment up to 180 degrees, in any direction and about any
center. There's more, too.
You can start drawing and rotating immediately by simply
clicking anywhere with the left mouse button. Hold it down
and pull the mouse down and to the right to draw a
'rubber-band' rectangle. When it's the size and shape you
want, release the button. Then select 'Rotate' from the
Action menu and watch it rotate, leaving a trail behind it.
It's rotating clockwise 180 degrees about its center in
5-degree increments.
You now have various options such as drawing and rotating a
new rectangle or a polygon or using the last one you rotated
for another rotation. You can also set the center for the
next rotation anywhere on the screen and change the
direction, increment and extent of rotation. You can set the
rotation mode to be Solid (the default), Xor (lines interact
with one another) or Transparent, which gives an animation
effect. And you can save and load images in Degas format,
using the system pallette if in color.
Note to Medium Resolution Rotaters: You'll notice that
objects' shapes tend to distort as they rotate, especially at
90 degrees. This has to do with the large number of
horizontal pixels found in this resolution compared to the
number of vertical pixels, and the fact that the rotation
algorithm assumes a ratio closer to 1:1. This distortion does
not occur in high resolution. For this reason, plus the
resolution-intensive nature of this program, for best results
use a high-resolution monitor.
Instructions for Rotation V1.0 Page 2
Reference Section
Shapes Menu
Polygon - Allows you to draw a polygon for rotation. A check
mark appears next to this item when selected.
To draw a polygon, click with the left mouse button on the
starting point. Then move the mouse to the next point and
click the left button again. Continue until the polygon is
finished. If you hold down the left button and move the
mouse slowly, you can draw smooth curves. Unfortunately,
these tend to look dotty when rotated in Transparent mode.
To finish drawing a polygon, move the mouse to the
next-to-the-last point and press the right button. A line is
drawn from the most recent point to the current mouse
position, and then another is drawn from the mouse position
to the starting point.
Rectangle - Allows you to draw a rectangle for rotation. A
check mark appears next to this item when selected.
Move the mouse cursor to the intended rectangle's upper left
corner and press and hold the left mouse button. Pull the
mouse down and to the right to draw a 'rubber-band'
rectangle. Release the button when the rectangle looks ok.
Use Last - Lets you use the most recently rotated object
again for rotation. This allows you to create intricate
patterns by rotating the same object in different directions
with different centers of rotation. Drawing a new shape or
selecting a new type of shape to draw disables this option
until you again rotate an object.
Options Menu
Clockwise - The two possible directions of rotation are
clockwise and counter-clockwise. The current direction is
shown here. Click on this menu item to select its opposite.
Set Attributes - Activates a GEM dialog that lets you set the
increment and extent of rotation in degrees. Current
settings are shown when the display is first activated. Use
standard GEM dialog editing techniques to enter whole numbers
between 1 and 180 in either blank. Values outside this range
are disregarded.
Mode Menu
Solid - All steps of rotation are deposited on the screen.
Great for patterns.
Instructions for Rotation V1.0 Page 3
Xor - Same as solid, but any lines drawn over other lines
result in combining of colors in bitwise XOR fashion.
Trans - Transparent, each step of rotation but the last is
erased before the next one is drawn. Causes an animation
effect.
Action Menu
Rotate - Rotates last object drawn according to the various
settings. Rotating a shape or selecting a new type of shape
to draw disables this option until you draw a new shape.
Set Center - Default center of rotation (if this command
isn't used) for rectangles is the center, and for polygons is
the first point. Set a new center of rotation by selecting
this command. An alert box appears, select 'OK' or 'Cancel'.
Then point at the new center of rotation and click lightly.
The Action Menu heading stays highlighted until you do so.
If you click too hard you may start a new shape. You can
reset the center whenever you like. Rotating an object
erases this setting, if made.
Clear - Clears screen. To undo, if you have a desk accessory
loaded, access the accessory, then close it. The screen will
be restored in its most recent state.
Save - Saves contents of Rotation window to a Degas-format
file with the name PICFILE with the extender .PI2 for
medium-res or .PI3 for high-res. The file is saved to the
drive from which you ran the Rotation program. The program
ensures that there is sufficient disk space before opening
the file.
Load - Loads a Degas-format file with the name PICFILE with
the extender .PI2 for medium-res or .PI3 for high-res into
the Rotation window. The file must be present on the drive
from which you ran the Rotation program.
Quit - Exits the program without further notice.
Degas is a trademark of Batteries Included.